package fr.test2.dao;

import java.io.Serializable;

import fr.Annotation.pierop.com.Entity;
import fr.Annotation.pierop.com.Table;
import fr.Annotation.pierop.com.ID;

@Entity
@Table(name="desastre")
public class desastre {

	@ID
	private Integer	Id;
	private String 	nom;
	private String	prenom;
	private Double age;
	
	public desastre(String nom, String prenom, Double age) {
		super();
		this.nom = nom;
		this.prenom = prenom;
		this.age = age;
	}
	public Integer getId() {
		return Id;
	}
	public void setId(Integer id) {
		Id = id;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getPrenom() {
		return prenom;
	}
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}
	public Double getAge() {
		return age;
	}
	public void setAge(Double age) {
		this.age = age;
	}
	
	
	
}
